<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>主页</title>
    <link rel="stylesheet" href="/ebook/css/layui.css">
    <script src="/ebook/js/jquery.min.js"></script>
    <script src="/ebook/layui.js"></script>
</head>
<body>
<button class="layui-btn layui-btn-normal" id="inser">保存</button>
<div class="layui-form-item">
    <label class="layui-form-label">图书类别</label>
    <div class="layui-input-block">
        <input type="text" style="width: 300px" name="categroyid" lay-verify="title" autocomplete="off" placeholder="请输入标题" class="layui-input">
    </div>
    <button class="layui-btn layui-btn-normal layui-form-label" id="ChaXun">保存</button>
</div>
<table id="biaoge" lay-filter="tableTools"></table>


<!--------------------------->

<form class="layui-form" style="display: none" id="updateForm" lay-filter="ebookentryup">
    <!--隐藏域-->
    <input type="hidden" name="id">

    <div class="layui-form-item">
        <label class="layui-form-label">图书摘要</label>
        <div class="layui-input-block">
            <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入标题" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">上传人</label>
        <div class="layui-input-block">
            <input type="text" name="uploaduser" lay-verify="title" autocomplete="off" placeholder="请输入标题" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">请选择日期:</label>
        <div class="layui-input-inline">
            <input style="width: 180px"  name="createdate" type="text" class="layui-input" id="myTime">
        </div>
    </div>
    <button class="layui-btn layui-btn-normal" lay-submit   lay-filter="xiugai">保存</button>

</form>
</body>
<script src="/ebook/js/myjs/public_main.js"></script>
<script src="/ebook/js/myjs/formateChange.js"></script>
<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-xs" lay-event="del" >删除</a>
    <a class="layui-btn layui-btn-xs" lay-event="upt" >修改</a>
</script>
</html>